package com.search.entity;

import java.util.Date;

import javax.persistence.Entity;
import javax.persistence.Id;

@Entity
public class Doc {

	@Id // 虚拟数据库映射主键
	private Integer docid;// 文章id
	private String doctitle;// 文章标题
	private String doccontent;// 文章内容
	private Date docreltime;// 文章创建时间
	private String docpuburl;// 文章发布地址
	private String channelid;// 栏目id
	private String chnldesc;// 栏目名称
	private String siteid;// 站点id
	private String temp1;// 备用字段1
	private String temp2;// 备用字段2 
	private String temp3;// 备用字段3

	public Doc() {
		super();
	}

	public Integer getDocid() {
		return docid;
	}

	public void setDocid(Integer docid) {
		this.docid = docid;
	}

	public String getDoctitle() {
		return doctitle;
	}

	public void setDoctitle(String doctitle) {
		this.doctitle = doctitle;
	}

	public String getDoccontent() {
		return doccontent;
	}

	public void setDoccontent(String doccontent) {
		this.doccontent = doccontent;
	}

	public Date getDocreltime() {
		return docreltime;
	}

	public void setDocreltime(Date docreltime) {
		this.docreltime = docreltime;
	}

	public String getDocpuburl() {
		return docpuburl;
	}

	public void setDocpuburl(String docpuburl) {
		this.docpuburl = docpuburl;
	}

	public String getChannelid() {
		return channelid;
	}

	public void setChannelid(String channelid) {
		this.channelid = channelid;
	}

	public String getChnldesc() {
		return chnldesc;
	}

	public void setChnldesc(String chnldesc) {
		this.chnldesc = chnldesc;
	}

	public String getSiteid() {
		return siteid;
	}

	public void setSiteid(String siteid) {
		this.siteid = siteid;
	}

	public String getTemp1() {
		return temp1;
	}

	public void setTemp1(String temp1) {
		this.temp1 = temp1;
	}

	public String getTemp2() {
		return temp2;
	}

	public void setTemp2(String temp2) {
		this.temp2 = temp2;
	}

	public String getTemp3() {
		return temp3;
	}

	public void setTemp3(String temp3) {
		this.temp3 = temp3;
	}

}